package qimao.com.edu.DTO;

import java.time.LocalDateTime;

public class ChapterDTO {
	private Integer bookId; // 书id
	private String bookName;// 书名
	private String bookWriter;// 作者
	private Integer chapterNum; // 第几章
	private String chapterName; // 章节名称
    private String content;     // 章节内容
    private LocalDateTime updateTime;    // 更新时间
    private Integer wordCount;  // 字数
    
    
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	
	
	
	public String getBookWriter() {
		return bookWriter;
	}
	public void setBookWriter(String bookWriter) {
		this.bookWriter = bookWriter;
	}
	public Integer getBookId() {
		return bookId;
	}
	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}
	public Integer getChapterNum() {
		return chapterNum;
	}
	public void setChapterNum(Integer chapterNum) {
		this.chapterNum = chapterNum;
	}
	public String getChapterName() {
		return chapterName;
	}
	public void setChapterName(String chapterName) {
		this.chapterName = chapterName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public LocalDateTime getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getWordCount() {
		return wordCount;
	}
	public void setWordCount(Integer wordCount) {
		this.wordCount = wordCount;
	}
	
	
	public ChapterDTO(Integer bookId, String bookName, String bookWriter, Integer chapterNum, String chapterName,
			String content, LocalDateTime updateTime, Integer wordCount) {
		super();
		this.bookId = bookId;
		this.bookName = bookName;
		this.bookWriter = bookWriter;
		this.chapterNum = chapterNum;
		this.chapterName = chapterName;
		this.content = content;
		this.updateTime = updateTime;
		this.wordCount = wordCount;
	}
	public ChapterDTO() {
		super();
	}
	
    
}
